export default (
  function request(url, data) {
    return new Promise(resolve => {
      this.axios({
        method: 'post',
        url,
        data
      }).then(res => resolve(res));
    })
  }
)